package com.college.heyuhua.service.impl;

import com.college.heyuhua.dao.LoginMapper;
import com.college.heyuhua.entity.UserInfo;
import com.college.heyuhua.service.IUserLogin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * Created by 赵东坡 on 2018/12/30.
 * Time:17:36
 * 宇宙无敌赵牛逼，祈求永无bug
 */
@Service
@Component
public class UserLoginImpl implements IUserLogin {

    @Autowired
    private LoginMapper loginmapper;


    @Override
    public UserInfo findOne(UserInfo userInfo) {
        return loginmapper.findOne(userInfo);
    }
}
